
package edu.tongji.jiaowu.service.impl;
 
import java.util.List;
import com.tongji.quickCRUDQ.service.impl.BaseManagerImpl;
import edu.tongji.jiaowu.dao.MajorClassDao;
import edu.tongji.jiaowu.service.MajorClassManager;
import com.tongji.quickCRUDQ.model.CommonBean;

public class MajorClassManagerImpl extends BaseManagerImpl implements MajorClassManager {
        private MajorClassDao majorClassDao;

	
	public CommonBean createMajorClass(){
                return majorClassDao.createMajorClass();		
	}
	
/*
	public CommonBean findMajorClasss(String refid) {
                return majorClassDao.findMajorClasss(refid);
       }
*/
	public CommonBean findMajorClassById(String id){
                return majorClassDao.findMajorClassById(id);
       }	
	public CommonBean findValidMajorClasss() {
                return majorClassDao.findValidMajorClasss();
       }
	public void insertMajorClass(CommonBean majorClassBean){
               majorClassDao.insertMajorClass(majorClassBean);
	}
	public void updateMajorClass(CommonBean majorClassBean){
               majorClassDao.updateMajorClass(majorClassBean);
	}
	
	public MajorClassDao getMajorClassDao(){
		return majorClassDao;
        }	
        
  public void setMajorClassDao(MajorClassDao majorClassDao){
          this.majorClassDao=majorClassDao;	
  }        		
}

